Skip to content

[AVR] Don't apply post-indexing on mismatched pointers #145224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 22, 2025

Conversation

Patryk27
Copy link
Contributor

@Patryk27 Patryk27 commented Jun 22, 2025

Cut out of #145040; thanks to @tomtor for preparing the test.

Basically, we're hitting the same edge case as RISC-V and aarch64:

Closes #143247; cc @benshi001.

@benshi001 benshi001 merged commit c7d9eab into llvm:main Jun 22, 2025
7 checks passed
Jaddyen pushed a commit to Jaddyen/llvm-project that referenced this pull request Jun 23, 2025
@Patryk27 Patryk27 deleted the fix/143247 branch July 12, 2025 18:06
nikic added a commit to rust-lang/llvm-project that referenced this pull request Jul 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

clang generates incorrect code when storing to memory location 0x1 for target avr-none
2 participants